Skip to content

ElementalSystems/js13ks-lobby-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js13kgames.com Two player online Lobby Demo Game Server

Some code showing how to build a Game server for the js13kGames Competition.

Install

Extract the files and install the third party libraries with npm.

npm install

Running

You can run the server locally with the following command:

npm run start:dev

You can reach the test server at http://localhost:3000

To build a minimal version use:

npm run build-rel

If you are developing you can watch the src directory (and automatically rebuild without compression) with

npm run watch

What it does

It allows players on the cloud to enter a nickname and level of ability and enter a lobby area which displays other players waiting to play. You can select a player to play with and launch a (trivial) game. you can log in with two different browser tabs to see it work.

The system is intended for a two player turn based game. You can see it running at https://js13ks-lobby.herokuapp.com/

About

js13kGames Server category files and rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.9%
  • HTML 7.5%
  • CSS 1.6%